package net.oschina.app.testcase.login;

import android.test.ActivityInstrumentationTestCase2;
import android.widget.Button;
import android.widget.EditText;

import com.robotium.solo.Solo;

import net.oschina.app.AppStart;
import net.oschina.app.BasicTestCase;

/**
 * Created by Aaron on 2017/5/26.
 */

public class Login2 extends BasicTestCase {

    public void testName() throws Exception {
        helper.getPageNavigation().clickMyTab();
        helper.getPageMyTab().clickLoginIcon();
        helper.getPageLogin().login("735723619@qq.com","12345678");
        assertTrue(helper.getPageCommon().waitForText("autotest",5));
    }
}
